package mx.ipn.escom.redes.gestionarsala.business;

import java.util.List;

import javax.inject.Named;

import org.springframework.transaction.annotation.Transactional;

import mx.ipn.escom.redes.equipo.model.Sala;
import mx.ipn.escom.redes.gestionarsala.dao.SalaDao;

@Named("salaBs")
public class SalaBs {
	
	private SalaDao salaDao;
	
	@Transactional
	public List<Sala> findAll() {
		return salaDao.findAll();
	}

	/**
	 * @return the salaDao
	 */
	public SalaDao getSalaDao() {
		return salaDao;
	}

	/**
	 * @param salaDao the salaDao to set
	 */
	public void setSalaDao(SalaDao salaDao) {
		this.salaDao = salaDao;
	}
	
	

}
